package com.challenge.smsweb.actionmanage;

import com.challenge.smsbase.Controller.GenericController;
import com.challenge.smsdao.actionmanage.domain.ActionKind;
import com.challenge.smsservice.actionmanage.service.ActionKindManager;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * YLN
 */
@RestController
@RequestMapping(value = "actionKind")
public class ActionKindController extends GenericController<ActionKind,Long, ActionKindManager> {

    ActionKindManager actionKindManager;

    /**
     * setActionKindManager
     * @param actionKindManager
     */
    @Autowired
    public void setActionKindManager(ActionKindManager actionKindManager){
        this.actionKindManager = actionKindManager;
        this.manager = this.actionKindManager;
    }
}
